From 8fa7de5563981c702809c66bf886b53bda932c85 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 28 Jun 2019 12:40:25 +0000 Subject: [PATCH] grid layout: Fix initial property values Too bad that we don't cover layout children in the default value test - it would have caught this. --- gtk/gtkgridlayout.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtkgridlayout.c b/gtk/gtkgridlayout.c index 8d54367a7d..aac06e1709 100644 --- a/gtk/gtkgridlayout.c +++ b/gtk/gtkgridlayout.c @@ -212,6 +212,8 @@ gtk_grid_layout_child_class_init (GtkGridLayoutChildClass *klass) static void gtk_grid_layout_child_init (GtkGridLayoutChild *self) { + CHILD_ROW_SPAN (self) = 1; + CHILD_COL_SPAN (self) = 1; } /** -- 2.30.2